package com.priusoft.api.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.priusoft.api.domain.Pagination;
import com.priusoft.api.entity.BnTestApplication;
import com.priusoft.api.service.BnTestApplicationService;
import com.priusoft.api.mapper.BnTestApplicationMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
* @author ThinkPad
* @description 针对表【BN_TEST_APPLICATION】的数据库操作Service实现
* @createDate 2021-11-24 13:24:00
*/
@Service
public class BnTestApplicationServiceImpl extends ServiceImpl<BnTestApplicationMapper, BnTestApplication>
    implements BnTestApplicationService{

    @Resource
    private BnTestApplicationMapper bnTestApplicationMapper;

    public Page select_bntestapplications_mes(Pagination pagination, Map map) {
        Page<Object> page = PageHelper.startPage(pagination.getPageIndex(), pagination.getPageSize());
        List list = bnTestApplicationMapper.select_bntestapplications_mes(map);
        return page;
    }

}




